﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.Domain.Model.WorkFlow
{

    [Table("Workflow")]
    public class Workflow
    {
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 流程名称
        /// </summary>
        public string? WorkName { get; set; }
        /// <summary>
        /// 表名
        /// </summary>
        public string? WorkTable { get; set; }
        /// <summary>
        /// 功能菜单
        /// </summary>
        public string? WorkTableName { get; set; }
        /// <summary>
        /// 节点信息
        /// </summary>
        public string? NodeConfig { get; set; }
        /// <summary>
        /// 连接配置
        /// </summary>
        public string? LineConfig { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 权重
        /// </summary>
        public int Weight { get; set; }
    }
}
